import 'package:kkhousekeep/generated/json/base/json_field.dart';
import 'package:kkhousekeep/generated/json/home_add_visitor_record_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class HomeAddVisitorRecordEntity {
	late int code;
	late HomeAddVisitorRecordObj obj;
	late String msg;

	HomeAddVisitorRecordEntity();

	factory HomeAddVisitorRecordEntity.fromJson(Map<String, dynamic> json) => $HomeAddVisitorRecordEntityFromJson(json);

	Map<String, dynamic> toJson() => $HomeAddVisitorRecordEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class HomeAddVisitorRecordObj {
	late int id;

	HomeAddVisitorRecordObj();

	factory HomeAddVisitorRecordObj.fromJson(Map<String, dynamic> json) => $HomeAddVisitorRecordObjFromJson(json);

	Map<String, dynamic> toJson() => $HomeAddVisitorRecordObjToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}